home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / xml / SchemaAdapter.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  11.7 KB  |  418 lines

  1. package com.extensibility.xml;
  2.  
  3. import com.extensibility.xml.dt.DataType;
  4. import com.extensibility.xml.dt.DataTypeEnumeration;
  5. import com.extensibility.xml.dt.DataTypeIntf;
  6. import java.io.IOException;
  7. import java.io.Writer;
  8. import java.util.Enumeration;
  9. import java.util.Vector;
  10.  
  11. public class SchemaAdapter implements SchemaIntf {
  12.    protected SchemaIntf delegate;
  13.  
  14.    public SchemaAdapter(SchemaIntf var1) {
  15.       this.delegate = var1;
  16.    }
  17.  
  18.    public Vector getParseErrors() {
  19.       return this.delegate.getParseErrors();
  20.    }
  21.  
  22.    public Enumeration getForeignDeclarations(Class var1) {
  23.       return this.delegate.getForeignDeclarations(var1);
  24.    }
  25.  
  26.    public Enumeration getDeclarations() {
  27.       return this.delegate.getDeclarations();
  28.    }
  29.  
  30.    public Enumeration getDeclarations(Class var1) {
  31.       return this.delegate.getDeclarations(var1);
  32.    }
  33.  
  34.    public Enumeration getDeclarations(URI var1, Class var2) {
  35.       return this.delegate.getDeclarations(var1, var2);
  36.    }
  37.  
  38.    public Enumeration getDeclarations(URI var1, boolean var2) {
  39.       return this.delegate.getDeclarations(var1, var2);
  40.    }
  41.  
  42.    public Enumeration getElementDeclarations() {
  43.       return this.delegate.getElementDeclarations();
  44.    }
  45.  
  46.    public String getContentModelAsString(ContentModelOwner var1) {
  47.       return this.delegate.getContentModelAsString(var1);
  48.    }
  49.  
  50.    public int getElementCount() {
  51.       return this.delegate.getElementCount();
  52.    }
  53.  
  54.    public int getCount() {
  55.       return this.delegate.getCount();
  56.    }
  57.  
  58.    public ElementDeclaration getNamedElement(String var1) {
  59.       return this.delegate.getNamedElement(var1);
  60.    }
  61.  
  62.    public AttributeDeclaration getNamedAttribute(String var1, String var2) {
  63.       return this.delegate.getNamedAttribute(var1, var2);
  64.    }
  65.  
  66.    public NamespaceDeclaration getNamedNamespace(String var1) {
  67.       return this.delegate.getNamedNamespace(var1);
  68.    }
  69.  
  70.    public DataTypeDeclaration getNamedDataType(String var1) {
  71.       return this.delegate.getNamedDataType(var1);
  72.    }
  73.  
  74.    public DataTypeIntf getNamedDataTypeIntf(String var1) {
  75.       return this.delegate.getNamedDataTypeIntf(var1);
  76.    }
  77.  
  78.    public SchemaIntf getNamedSchema(String var1) throws Exception {
  79.       return this.delegate.getNamedSchema(var1);
  80.    }
  81.  
  82.    public BaseDeclaration getNamedDeclaration(String var1, Class var2) {
  83.       return this.delegate.getNamedDeclaration(var1, var2);
  84.    }
  85.  
  86.    public BaseDeclaration getIndDeclaration(int var1) {
  87.       return this.delegate.getIndDeclaration(var1);
  88.    }
  89.  
  90.    public ExternalSubset getStructure() {
  91.       return this.delegate.getStructure();
  92.    }
  93.  
  94.    public Enumeration getIncludedModules(URI var1) {
  95.       return this.delegate.getIncludedModules(var1);
  96.    }
  97.  
  98.    public int insertSubset(ExternalPEDeclaration var1) throws IOException {
  99.       return this.delegate.insertSubset(var1);
  100.    }
  101.  
  102.    public void removeSubset(ExternalSubset var1) {
  103.       this.delegate.removeSubset(var1);
  104.    }
  105.  
  106.    public boolean isValidPosition(BaseDeclaration var1, BaseDeclaration var2) {
  107.       return this.delegate.isValidPosition(var1, var2);
  108.    }
  109.  
  110.    public void insertDeclaration(BaseDeclaration var1, BaseDeclaration var2) {
  111.       this.delegate.insertDeclaration(var1, var2);
  112.    }
  113.  
  114.    public void insertDeclaration(AttributeDeclaration var1, BaseDeclaration var2, AttributeDeclaration.Owner var3) {
  115.       this.delegate.insertDeclaration(var1, var2, var3);
  116.    }
  117.  
  118.    public void insertDeclaration(BaseDeclaration var1, BaseDeclaration var2, String var3) {
  119.       this.delegate.insertDeclaration(var1, var2, var3);
  120.    }
  121.  
  122.    public void removeDeclaration(BaseDeclaration var1) {
  123.       this.delegate.removeDeclaration(var1);
  124.    }
  125.  
  126.    public void removeAllDeclarations() {
  127.       this.delegate.removeAllDeclarations();
  128.    }
  129.  
  130.    public AttributeDeclaration.Owner createUnknownOwner(String var1) {
  131.       return this.delegate.createUnknownOwner(var1);
  132.    }
  133.  
  134.    public BaseDeclaration getDeclarationBefore(BaseDeclaration var1) {
  135.       return this.delegate.getDeclarationBefore(var1);
  136.    }
  137.  
  138.    public BaseDeclaration getDeclarationAfter(BaseDeclaration var1) {
  139.       return this.delegate.getDeclarationAfter(var1);
  140.    }
  141.  
  142.    public ElementDeclaration[] getAllowedElements(ElementDeclaration var1) {
  143.       return this.delegate.getAllowedElements(var1);
  144.    }
  145.  
  146.    public void setDeclarationName(BaseDeclaration var1, String var2, boolean var3) {
  147.       this.delegate.setDeclarationName(var1, var2, var3);
  148.    }
  149.  
  150.    public boolean createAttributeGroup(InternalPEDeclaration var1) throws ParserException {
  151.       return this.delegate.createAttributeGroup(var1);
  152.    }
  153.  
  154.    public boolean updateAttributeGroup(AttributeDeclaration.Owner var1, String var2) throws ParserException {
  155.       return this.delegate.updateAttributeGroup(var1, var2);
  156.    }
  157.  
  158.    public void checkAttributeGroup(String var1, String var2) throws ParserException {
  159.       this.delegate.checkAttributeGroup(var1, var2);
  160.    }
  161.  
  162.    public ContentModelOwner getNamedContentModelOwner(String var1) {
  163.       return this.delegate.getNamedContentModelOwner(var1);
  164.    }
  165.  
  166.    public void updateContentModel(ContentModelOwner var1, String var2, boolean var3) throws ParserException {
  167.       this.delegate.updateContentModel(var1, var2, var3);
  168.    }
  169.  
  170.    public void checkContentModel(String var1, String var2, boolean var3) throws ParserException {
  171.       this.delegate.checkContentModel(var1, var2, var3);
  172.    }
  173.  
  174.    public void setModuleURIResolver(URIResolver var1) {
  175.       this.delegate.setModuleURIResolver(var1);
  176.    }
  177.  
  178.    public URI resolveModuleURI(URI var1) {
  179.       return this.delegate.resolveModuleURI(var1);
  180.    }
  181.  
  182.    public URI getURI() {
  183.       return this.delegate.getURI();
  184.    }
  185.  
  186.    public void updateURI(URI var1, URI var2) {
  187.       this.delegate.updateURI(var1, var2);
  188.    }
  189.  
  190.    public void moveDeclaration(BaseDeclaration var1, BaseDeclaration var2) {
  191.       this.delegate.moveDeclaration(var1, var2);
  192.    }
  193.  
  194.    public BaseDeclaration getNextDeclaration(BaseDeclaration var1) {
  195.       return this.delegate.getNextDeclaration(var1);
  196.    }
  197.  
  198.    public Vector checkConversion(String var1) {
  199.       return this.delegate.checkConversion(var1);
  200.    }
  201.  
  202.    public void checkForErrors(BaseDeclaration var1) {
  203.       this.delegate.checkForErrors(var1);
  204.    }
  205.  
  206.    public boolean hasErrors() {
  207.       return this.delegate.hasErrors();
  208.    }
  209.  
  210.    public boolean isCompleteAndConsistent() {
  211.       return this.delegate.isCompleteAndConsistent();
  212.    }
  213.  
  214.    public void doSecondPassValidation(URI var1) {
  215.       this.delegate.doSecondPassValidation(var1);
  216.    }
  217.  
  218.    public void clearAllParseErrors() {
  219.       this.delegate.clearAllParseErrors();
  220.    }
  221.  
  222.    public void clearParseErrorsWithURI(URI var1) {
  223.       this.delegate.clearParseErrorsWithURI(var1);
  224.    }
  225.  
  226.    public void setDeclarationOwner(AttributeDeclaration var1, AttributeDeclaration.Owner var2) {
  227.       this.delegate.setDeclarationOwner(var1, var2);
  228.    }
  229.  
  230.    public void setDeclarationOwner(AttributeDeclaration var1, String var2) {
  231.       this.delegate.setDeclarationOwner(var1, var2);
  232.    }
  233.  
  234.    public void write(Writer var1) throws IOException {
  235.       this.delegate.write(var1);
  236.    }
  237.  
  238.    public void write(Writer var1, URI var2) throws IOException {
  239.       this.delegate.write(var1, var2);
  240.    }
  241.  
  242.    public ElementDeclaration getRoot(boolean var1) {
  243.       return this.delegate.getRoot(var1);
  244.    }
  245.  
  246.    public String expandPERefs(String var1, BaseDeclaration var2) {
  247.       return this.delegate.expandPERefs(var1, var2);
  248.    }
  249.  
  250.    public void setComments(URI var1, Vector var2) {
  251.       this.delegate.setComments(var1, var2);
  252.    }
  253.  
  254.    public void addComment(Comment var1) {
  255.       this.delegate.addComment(var1);
  256.    }
  257.  
  258.    public Enumeration getComments() {
  259.       return this.delegate.getComments();
  260.    }
  261.  
  262.    public CommentList getCommentList(URI var1) {
  263.       return this.delegate.getCommentList(var1);
  264.    }
  265.  
  266.    public int indexOf(BaseDeclaration var1) {
  267.       return this.delegate.indexOf(var1);
  268.    }
  269.  
  270.    public void parse(URI var1, int var2, Object var3) throws Exception {
  271.       this.delegate.parse(var1, var2, var3);
  272.    }
  273.  
  274.    public void parse(URI var1, URI var2, int var3, Object var4) throws IOException {
  275.       this.delegate.parse(var1, var2, var3, var4);
  276.    }
  277.  
  278.    public String getFlavorName() {
  279.       return this.delegate.getFlavorName();
  280.    }
  281.  
  282.    public SchemaFlavorIntf getFlavor() {
  283.       return this.delegate.getFlavor();
  284.    }
  285.  
  286.    public boolean setFlavor(String var1) {
  287.       return this.delegate.setFlavor(var1);
  288.    }
  289.  
  290.    public void setSchemaPath(String var1) {
  291.       this.delegate.setSchemaPath(var1);
  292.    }
  293.  
  294.    public String getSchemaPath() {
  295.       return this.delegate.getSchemaPath();
  296.    }
  297.  
  298.    public Vector getSchemaPaths() {
  299.       return this.delegate.getSchemaPaths();
  300.    }
  301.  
  302.    public void addError(ParserException var1) {
  303.       this.delegate.addError(var1);
  304.    }
  305.  
  306.    public String getSourcePreview(BaseDeclaration var1) {
  307.       return this.delegate.getSourcePreview(var1);
  308.    }
  309.  
  310.    public BaseExemplar createExemplar() {
  311.       return this.delegate.createExemplar();
  312.    }
  313.  
  314.    public boolean isSupported(Class var1) {
  315.       return this.delegate.isSupported(var1);
  316.    }
  317.  
  318.    public boolean isSupported(String var1) {
  319.       return this.delegate.isSupported(var1);
  320.    }
  321.  
  322.    public boolean isValidValue(DataTypeIntf var1, String var2) {
  323.       return this.delegate.isValidValue(var1, var2);
  324.    }
  325.  
  326.    public String getDataTypeDisplay(DataTypeIntf var1) {
  327.       return this.delegate.getDataTypeDisplay(var1);
  328.    }
  329.  
  330.    public String getDataTypeSource(DataTypeIntf var1) {
  331.       return this.delegate.getDataTypeSource(var1);
  332.    }
  333.  
  334.    public String getBaseTypeDisplay(DataTypeIntf var1) {
  335.       return this.delegate.getBaseTypeDisplay(var1);
  336.    }
  337.  
  338.    public String getBaseTypeSource(DataTypeIntf var1) {
  339.       return this.delegate.getBaseTypeSource(var1);
  340.    }
  341.  
  342.    public boolean isKnownDisplay(String var1) {
  343.       return this.delegate.isKnownDisplay(var1);
  344.    }
  345.  
  346.    public DataType createDataTypeFromDisplay(String var1) {
  347.       return this.delegate.createDataTypeFromDisplay(var1);
  348.    }
  349.  
  350.    public DataTypeEnumeration getAllTypes() {
  351.       return this.delegate.getAllTypes();
  352.    }
  353.  
  354.    public DataTypeEnumeration getSimpleTypes() {
  355.       return this.delegate.getSimpleTypes();
  356.    }
  357.  
  358.    public DataTypeEnumeration getPrimitiveTypes() {
  359.       return this.delegate.getPrimitiveTypes();
  360.    }
  361.  
  362.    public DataTypeEnumeration getOtherTypes() {
  363.       return this.delegate.getOtherTypes();
  364.    }
  365.  
  366.    public MetaPropHash getMetaPropHash() {
  367.       return this.delegate.getMetaPropHash();
  368.    }
  369.  
  370.    public void bindDeclRef(DeclRef var1) {
  371.       this.delegate.bindDeclRef(var1);
  372.    }
  373.  
  374.    public void releaseDeclRef(DeclRef var1) {
  375.       this.delegate.releaseDeclRef(var1);
  376.    }
  377.  
  378.    public URI getNamespace() {
  379.       return this.delegate.getNamespace();
  380.    }
  381.  
  382.    public void setNamespace(URI var1) {
  383.       this.delegate.setNamespace(var1);
  384.    }
  385.  
  386.    public String getSchemaPrefix() {
  387.       return this.delegate.getSchemaPrefix();
  388.    }
  389.  
  390.    public void setSchemaPrefix(String var1) {
  391.       this.delegate.setSchemaPrefix(var1);
  392.    }
  393.  
  394.    public boolean getShowErrors() {
  395.       return this.delegate.getShowErrors();
  396.    }
  397.  
  398.    public void setShowErrors(boolean var1) {
  399.       this.delegate.setShowErrors(var1);
  400.    }
  401.  
  402.    public boolean getPrintValidatedBy() {
  403.       return this.delegate.getPrintValidatedBy();
  404.    }
  405.  
  406.    public void setPrintValidatedBy(boolean var1) {
  407.       this.delegate.setPrintValidatedBy(var1);
  408.    }
  409.  
  410.    public void setEncoding(String var1) {
  411.       this.delegate.setEncoding(var1);
  412.    }
  413.  
  414.    public String getEncoding() {
  415.       return this.delegate.getEncoding();
  416.    }
  417. }
  418.